<%@ page import="com.wmm.bean.Classes" %><%--
  Created by IntelliJ IDEA.
  User: Sakura
  Date: 2020/10/26
  Time: 20:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>更新班级信息界面</title>
</head>
<body bgcolor="#87cefa">
<h1 align="center">更新班级信息</h1>
<%
    Classes updateClass = (Classes) session.getAttribute("updateClass");
    pageContext.setAttribute("updateClass",updateClass);
%>
<c:if test="${updateClass != null}">
<form action="updateClassInfo" method="post" id="form1">
    班级编号:<input type="text" name="classNo" required="required" readonly="readonly" value="${updateClass.getClassNo()}"><br/>
    班级名&nbsp;:&nbsp;&nbsp;<input type="text" name="className" value="${updateClass.getClassName()}"><br/>
    年&nbsp; 级&nbsp;:&nbsp;&nbsp;&nbsp;<input type="text" name="grade" value="${updateClass.getGrade()}"><br/>
    班主任:&nbsp;&nbsp;&nbsp;<input type="text" name="teacher" value="${updateClass.getClassTeacher()}"><br/>
    班级人数:<input type="text" name="position" readonly="readonly" value="${updateClass.getClassNumber()}"><br/>
    班级口号:<input type="text" name="slogan" value="${updateClass.getClassSlogan()}"><br/>

    <input type="submit" value="提交" />
</form>
</c:if>
</body>
</html>
